<template>
  <div>
    <itemdata :device-id="deviceId" :item-id="itemId" :item-name="itemName"></itemdata>
  </div>
</template>
<script>
import itemdata from '../common/itemdata'

export default {
  name: 'itemhistroydata',
  data () {
    return {
      deviceId: '',
      itemId: '',
      itemName: ''
    }
  },
  mounted: function () {
    this.deviceId = this.$route.params.deviceid
    this.itemId = this.$route.params.itemid
    this.itemName = this.$route.params.itemname
  },
  components: {
    itemdata
  }
}
</script>
<style lang="stylus" scoped>
</style>
